﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Globalization;

namespace Win32Wrapper.Converter
{
    [ValueConversion(typeof(uint), typeof(String))]
    public class WindowStyleConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            uint WindowStyle = (uint)value;
            return Win32.Converter.WindowStyleConverter.Convert(WindowStyle);
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            return new NotImplementedException();
        }
    }
}
